package saas.consumer.service.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @title: OmsFeignClient
 * @description:
 * @author: guan.xin
 * @create: 2021-11-15 19:37
 * @since: JDK8
 */
@FeignClient(name = "oms-provider-service", url = "http://localhost:9091/main")
public interface OmsFeignClient {

    /**
     * @param empCode
     * @param saasStoreCode
     * @return
     */
    @PostMapping(value = "/remote")
    public String remote(@RequestParam String empCode, @RequestParam String saasStoreCode);
}
